package com.cl.blog.service;

import com.cl.blog.entity.BCommunity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cl.blog.vo.CommunityAddVo;
import com.cl.blog.vo.CommunitySearchVo;

import java.util.List;

/**
 * @author object
 * @description 针对表【b_community】的数据库操作Service
 * @createDate 2024-03-14 17:13:59
 */
public interface BCommunityService extends IService<BCommunity> {

	boolean addCommunity(CommunityAddVo form, String token);

	List<BCommunity> selectAll(Integer type);

	List<BCommunity> search(CommunitySearchVo searchVo);

	BCommunity selectById(Integer id);
}
